// 测试切片

package lab

import (
    "fmt"
)


var s2 = [] int {}

func SliceTest()  {
    s2 = append(s2, 6)
    s2 = append(s2, 8)
    for _, v := range s2 {
        fmt.Println("element =", v)
    }
}
